/*年轻人，只管向前看，不要管自暴自弃者的话*/
package com.composetest.page.main

import com.composetest.R
import com.composetest.page.cart.navigation.CART_ROUTE
import com.composetest.page.home.navigation.HOME_ROUTE
import com.composetest.page.me.navigation.ME_ROUTE
import com.composetest.page.video.navigation.VIDEO_ROUTE

/**
 * create by itz on 2024/10/12 10:18
 * desc : 导航栏模型
 **/
enum class TopLevelDestination(
    val selectedIcon: Int,
    val unselectedIcon: Int,
    val titleTextId: Int,
    val route: String
) {
    HOME(
        selectedIcon = R.drawable.tab_home_selected,
        unselectedIcon = R.drawable.tab_home,
        titleTextId = R.string.home,
        route = HOME_ROUTE,
    ),
    VIDEO(
        selectedIcon = R.drawable.tab_video_selected,
        unselectedIcon = R.drawable.tab_video,
        titleTextId = R.string.video,
        route = VIDEO_ROUTE,
    ),
    CART(
        selectedIcon = R.drawable.tab_cart_selected,
        unselectedIcon = R.drawable.tab_cart,
        titleTextId = R.string.cart,
        route = CART_ROUTE,
    ),
    ME(
        selectedIcon = R.drawable.tab_me_selected,
        unselectedIcon = R.drawable.tab_me,
        titleTextId = R.string.me,
        route = ME_ROUTE,
    ),
}